package com.yidu.best.stock.moneyTransfers.domain;

import java.math.BigDecimal;
import java.util.Date;

public class MoneyTransfersVo {
	/**
	 * 资金调拨Id
	 */
	private String capitalTransferId;
	/**
	 * 资金调拨编号
	 */
	private String capitalTransferNo;
	/**
	 * 基金Id
	 */
	private String fundId;
	/**
	 * 基金代码
	 */
	private String fundCode;
	/**
	 * 基金名
	 */
	private String fundName;
	/**
	 * 账户Id
	 */
	private String accountId;
	/**
	 * 账号
	 */
	private String accountNo;
	/**
	 * 账户名
	 */
	private String accountName;
	/**
	 * 调拨金额
	 */
	private BigDecimal transferAmount;
	/**
	 * 调拨日期
	 */
	private Date transferDate;
	/**
	 * 调拨标识
	 */
	private Integer transferFlag;
	/**
	 * 调拨类型
	 */
	private String transferType;
	/**
	 * 业务Id
	 */
	private String businessId;
	
	private Integer page;
	private Integer limit;
	public MoneyTransfersVo() {
		super();
	}
	public MoneyTransfersVo(String capitalTransferId, String capitalTransferNo, String fundId, String fundCode,
			String fundName, String accountId, String accountNo, String accountName, BigDecimal transferAmount,
			Date transferDate, Integer transferFlag, String transferType, String businessId, Integer page,
			Integer limit) {
		super();
		this.capitalTransferId = capitalTransferId;
		this.capitalTransferNo = capitalTransferNo;
		this.fundId = fundId;
		this.fundCode = fundCode;
		this.fundName = fundName;
		this.accountId = accountId;
		this.accountNo = accountNo;
		this.accountName = accountName;
		this.transferAmount = transferAmount;
		this.transferDate = transferDate;
		this.transferFlag = transferFlag;
		this.transferType = transferType;
		this.businessId = businessId;
		this.page = page;
		this.limit = limit;
	}
	public String getCapitalTransferId() {
		return capitalTransferId;
	}
	public void setCapitalTransferId(String capitalTransferId) {
		this.capitalTransferId = capitalTransferId;
	}
	public String getCapitalTransferNo() {
		return capitalTransferNo;
	}
	public void setCapitalTransferNo(String capitalTransferNo) {
		this.capitalTransferNo = capitalTransferNo;
	}
	public String getFundId() {
		return fundId;
	}
	public void setFundId(String fundId) {
		this.fundId = fundId;
	}
	public String getFundCode() {
		return fundCode;
	}
	public void setFundCode(String fundCode) {
		this.fundCode = fundCode;
	}
	public String getFundName() {
		return fundName;
	}
	public void setFundName(String fundName) {
		this.fundName = fundName;
	}
	public String getAccountId() {
		return accountId;
	}
	public void setAccountId(String accountId) {
		this.accountId = accountId;
	}
	public String getAccountNo() {
		return accountNo;
	}
	public void setAccountNo(String accountNo) {
		this.accountNo = accountNo;
	}
	public String getAccountName() {
		return accountName;
	}
	public void setAccountName(String accountName) {
		this.accountName = accountName;
	}
	public BigDecimal getTransferAmount() {
		return transferAmount;
	}
	public void setTransferAmount(BigDecimal transferAmount) {
		this.transferAmount = transferAmount;
	}
	public Date getTransferDate() {
		return transferDate;
	}
	public void setTransferDate(Date transferDate) {
		this.transferDate = transferDate;
	}
	public Integer getTransferFlag() {
		return transferFlag;
	}
	public void setTransferFlag(Integer transferFlag) {
		this.transferFlag = transferFlag;
	}
	public String getTransferType() {
		return transferType;
	}
	public void setTransferType(String transferType) {
		this.transferType = transferType;
	}
	public String getBusinessId() {
		return businessId;
	}
	public void setBusinessId(String businessId) {
		this.businessId = businessId;
	}
	public Integer getPage() {
		return page;
	}
	public void setPage(Integer page) {
		this.page = page;
	}
	public Integer getLimit() {
		return limit;
	}
	public void setLimit(Integer limit) {
		this.limit = limit;
	}
	@Override
	public String toString() {
		return "MoneyTransfersVo [capitalTransferId=" + capitalTransferId + ", capitalTransferNo=" + capitalTransferNo
				+ ", fundId=" + fundId + ", fundCode=" + fundCode + ", fundName=" + fundName + ", accountId="
				+ accountId + ", accountNo=" + accountNo + ", accountName=" + accountName + ", transferAmount="
				+ transferAmount + ", transferDate=" + transferDate + ", transferFlag=" + transferFlag
				+ ", transferType=" + transferType + ", businessId=" + businessId + ", page=" + page + ", limit="
				+ limit + "]";
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((accountId == null) ? 0 : accountId.hashCode());
		result = prime * result + ((accountName == null) ? 0 : accountName.hashCode());
		result = prime * result + ((accountNo == null) ? 0 : accountNo.hashCode());
		result = prime * result + ((businessId == null) ? 0 : businessId.hashCode());
		result = prime * result + ((capitalTransferId == null) ? 0 : capitalTransferId.hashCode());
		result = prime * result + ((capitalTransferNo == null) ? 0 : capitalTransferNo.hashCode());
		result = prime * result + ((fundCode == null) ? 0 : fundCode.hashCode());
		result = prime * result + ((fundId == null) ? 0 : fundId.hashCode());
		result = prime * result + ((fundName == null) ? 0 : fundName.hashCode());
		result = prime * result + ((limit == null) ? 0 : limit.hashCode());
		result = prime * result + ((page == null) ? 0 : page.hashCode());
		result = prime * result + ((transferAmount == null) ? 0 : transferAmount.hashCode());
		result = prime * result + ((transferDate == null) ? 0 : transferDate.hashCode());
		result = prime * result + ((transferFlag == null) ? 0 : transferFlag.hashCode());
		result = prime * result + ((transferType == null) ? 0 : transferType.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		MoneyTransfersVo other = (MoneyTransfersVo) obj;
		if (accountId == null) {
			if (other.accountId != null)
				return false;
		} else if (!accountId.equals(other.accountId))
			return false;
		if (accountName == null) {
			if (other.accountName != null)
				return false;
		} else if (!accountName.equals(other.accountName))
			return false;
		if (accountNo == null) {
			if (other.accountNo != null)
				return false;
		} else if (!accountNo.equals(other.accountNo))
			return false;
		if (businessId == null) {
			if (other.businessId != null)
				return false;
		} else if (!businessId.equals(other.businessId))
			return false;
		if (capitalTransferId == null) {
			if (other.capitalTransferId != null)
				return false;
		} else if (!capitalTransferId.equals(other.capitalTransferId))
			return false;
		if (capitalTransferNo == null) {
			if (other.capitalTransferNo != null)
				return false;
		} else if (!capitalTransferNo.equals(other.capitalTransferNo))
			return false;
		if (fundCode == null) {
			if (other.fundCode != null)
				return false;
		} else if (!fundCode.equals(other.fundCode))
			return false;
		if (fundId == null) {
			if (other.fundId != null)
				return false;
		} else if (!fundId.equals(other.fundId))
			return false;
		if (fundName == null) {
			if (other.fundName != null)
				return false;
		} else if (!fundName.equals(other.fundName))
			return false;
		if (limit == null) {
			if (other.limit != null)
				return false;
		} else if (!limit.equals(other.limit))
			return false;
		if (page == null) {
			if (other.page != null)
				return false;
		} else if (!page.equals(other.page))
			return false;
		if (transferAmount == null) {
			if (other.transferAmount != null)
				return false;
		} else if (!transferAmount.equals(other.transferAmount))
			return false;
		if (transferDate == null) {
			if (other.transferDate != null)
				return false;
		} else if (!transferDate.equals(other.transferDate))
			return false;
		if (transferFlag == null) {
			if (other.transferFlag != null)
				return false;
		} else if (!transferFlag.equals(other.transferFlag))
			return false;
		if (transferType == null) {
			if (other.transferType != null)
				return false;
		} else if (!transferType.equals(other.transferType))
			return false;
		return true;
	}
	
	
}
